package com.spa.application.command.douyin;

import com.spa.infrastructure.annotation.AtLeastOneNotEmpty;
import lombok.Data;

@Data
@AtLeastOneNotEmpty(fields = {"code", "anonymousCode"}, message = "code 和 anonymous_code 至少要有一个")
public class LoginCommand {

    private String code;

    private String anonymousCode;

}
